package com.qys.livesMall.app.user.model.dto.sys;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/06/06
 * Time: 17:06
 * DESCRIPTION:
 */
@Data
public class UserLevelDTO {

    @Schema(description = "id")
    private Integer id;

    @Schema(description = "等级名")
    @NotBlank
    private String name;

    @Schema(description = "等级图标")
    @NotBlank
    private String icon;

    @Schema(description = "升级条件（下级店铺数量）")

    private Integer upgradeConditionNum;

    @Schema(description = "保持金额")

    private BigDecimal keepAmount;

    @Schema(description = "等级")
    @NotNull
    private Integer level;

    @Schema(description = "是否允许上传短视频  1:允许  2：不允许")

    private Byte upShortVideoFlag;

    @Schema(description = "是否允许开店  1:允许  2：不允许")

    private Byte openShopFlag;

    @Schema(description = "是否允许线上理财 1:允许  2：不允许")

    private Byte onlineFinancialFlag;

    @Schema(description = "是否允许线下理财 1:允许  2：不允许")

    private Byte offlineFinancialFlag;

    @Schema(description = "申请主播 1:允许  2：不允许")

    private Byte applyAnchor;

    @Schema(description = "发起任务 1:允许  2：不允许")

    private Byte initiateTask;

    @Schema(description = "最小提现")
    private BigDecimal minimumWithdrawal;

    @Schema(description = "最大提现")
    private BigDecimal maximumWithdrawal;

    @Schema(description = "日提现次数")
    private Integer dailyWithdrawal;

    @Schema(description = "周提现次数")
    private Integer weeklyWithdrawal;

    @Schema(description = "奖励")
    private String reward;
}
